<?php
	include "inc/inc_header.php"; // header
	include ($_SERVER ["DOCUMENT_ROOT"] . "/lib/module/conn_db.php");

	$db = new MyDB ( false );
	$db->err_report = true;
	$sql = " SELECT count(*) as total FROM tb_log ";
	$db->query ( $sql );
	$total = mysql_result ( $db->result, 0, "total" );

	$sql = " SELECT count(*) as total FROM tb_log where log_dm like '".date ( "Y-m-d", time () )."%'";
	$db->query ( $sql );
	$today = mysql_result ( $db->result, 0, "total" );

	$db->close ();
?>
<style type="text/css">
<!--
#Layer6 {
	position:absolute;
	top:670px;
	width:240px;
	height:20px;
	z-index:1;
}
-->
</style>
<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td style="BACKGROUND-IMAGE: url(img/index/cont_bg01.jpg); BACKGROUND-REPEAT: repeat-x; BACKGROUND-position:right top;">&nbsp;</td>
		<td width="994" style="BACKGROUND-IMAGE: url(img/index/cont_bg03.jpg); BACKGROUND-REPEAT: repeat-x; BACKGROUND-position:center top;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="994" height="710">
		  <param name="movie" value="fla/main.swf">
		  <param name="quality" value="high">
		  <param name="wmode" value="transparent">
		  <embed src="fla/main.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="994" height="710"></embed>
		</object></td>
		<td style="BACKGROUND-IMAGE: url(img/index/cont_bg02.jpg); BACKGROUND-REPEAT: repeat-x; BACKGROUND-position:left top;">&nbsp;</td>
	  </tr>
	</table>
	<div id="Layer6">
      <table width="0" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="text08" style="padding-left:38px;"><strong>오늘 <?php echo $today;?> / 전체 <?php echo $total;?></strong></td>
        </tr>
      </table>
    </div>
	<?php include "inc/inc_bottom.php" ?><!-- bottom -->
<?php include "inc/inc_footer.php" ?><!-- footer -->
